<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Canvas Demo</title>
</head>
<body>
    <div id="container" style="width:350px;height:300px;margin:20px auto;">
        <canvas id="canvas" style="width:330px;height:280px;">您的浏览器不支持Canvas</canvas>
    </div>
    <script src="./js/canvas.js"></script>
</body>
</html>